package com.changgou.goods.service;

import com.changgou.core.service.CoreService;
import com.changgou.goods.pojo.Goods;
import com.changgou.goods.pojo.Spu;

/**
 * @author liyipeng
 * @date 2021-06-26 17:00
 */
public interface SpuService extends CoreService<Spu> {

    void saveGoods(Goods goods);

    Goods findGoodsById(Long id);

    void audit(Long id);

    void pull(Long id);

    void put(Long id);

    int putMany(Long[] ids);

    int pullMany(Long[] ids);

    void logicDelete(Long spuId);

    void restore(Long spuId);
}
